/**
 *  Copyright (c) 2017-2022 Rushang Co.Ltd All Rights Reserved.
 */
package com.rshang.rsdp.common.status;

/**
 * 功能简介：用户管理状态代码<br/>
 * @author zhangjun
 * @create 2017年8月14日下午1:32:01
 * 
 */
public enum UserStatusCode {

	USER_NOTFOUND(200103,"login.user.notfound"),//用户不存在
	USERNAME_FOUND(200104,"msg.username.found"),//用户名已存在
	USER_DELETED(200105,"msg.user.deleted"),//用户已删除
	ADMIN_NOTDEL(200106,"msg.user.notdelete"),//系统管理员不能删除
	USER_OLDPERR(200107,"msg.user.oldperr"),//旧密码错误
	USER_MODIFY(200,"msg.user.zlxgcg");
	
	private int code;
	private String key;
	
	UserStatusCode(int code, String key) {
        this.code = code;
        this.key = key;
    }
	public int getCode() {
		return code;
	}
	public String getKey() {
		return key;
	}
}
